package com.team2.s3hrjyxm.QxglService;

import com.team2.s3hrjyxm.dao.HumanFileDigDao;
import com.team2.s3hrjyxm.dao.LoginDao;
import com.team2.s3hrjyxm.pojo.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class LoginServiceImp implements LoginService{
    @Autowired
              LoginDao dao;
 //   @Autowired
  //  HumanFileDigDao dao2;
//dao2.getHumanFileDigRowCount();
    @Override
    public Users login(Users u) {
        return dao.login(u);

    }


}
